﻿@foreach (var card in Model.XianXiangCardList.Data)
{
    if (card.Status == 0)
    {
       
    <li>
        <h4>
            <label for="@Html.Raw(card.CardNumber.Trim() + 1)">@card.CardNumber.Substring(0, 4) @Html.Raw(" ") @card.CardNumber.Substring(4, 4) @Html.Raw(" ") @card.CardNumber.Substring(8, 4) @Html.Raw(" ")  @card.CardNumber.Substring(12, 4) @Html.Raw(" ") @card.CardNumber.Substring(16, 3)</label></h4>
        <a href="javascript:void(0)" onclick="XianXiangCardNumberSumbit();">
            <i class="glyphicon glyphicon-chevron-right"></i>
        </a>
        <input type="checkbox"  class="www radio"  name="CheckdCardNumber" value="@card.CardNumber.Trim()" id="@Html.Raw(card.CardNumber.Trim() + 1)">
    </li>
    }
    else if (card.Status == 1)
    {
        <li class="hassubscribe">
            <h4>@card.CardNumber.Substring(0, 4) @Html.Raw(" ") @card.CardNumber.Substring(4, 4) @Html.Raw(" ") @card.CardNumber.Substring(8, 4) @Html.Raw(" ")  @card.CardNumber.Substring(12, 4) @Html.Raw(" ") @card.CardNumber.Substring(16, 3) <em>已预约</em></h4>
        </li>
    }
    else if (card.Status == 2)
    {
        <li class="hassubscribe">
            <h4>@card.CardNumber.Substring(0, 4) @Html.Raw(" ") @card.CardNumber.Substring(4, 4) @Html.Raw(" ") @card.CardNumber.Substring(8, 4) @Html.Raw(" ")  @card.CardNumber.Substring(12, 4) @Html.Raw(" ") @card.CardNumber.Substring(16, 3) <em><strong>已成交</strong></em></h4>
        </li>
    }
}

